package com.lagou.niancheng.biz.server;

import com.lagou.niancheng.biz.api.SimpleServiceApi;
import com.lagou.niancheng.rpc.server.spring.ServiceProvider;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

/**
 * com.lagou.niancheng.biz.server.SimpleService
 *
 * @author 大犬
 * @date 2020/5/22
 */
@Service
@ServiceProvider
public class SimpleServiceImpl implements SimpleServiceApi {

    @Value("${simple.data}")
    private String content;

    @Override
    public String getData() {
        return content;
    }
}
